package net.thxjj.adminServer.dao;

import java.util.List;

import net.thxjj.adminServer.util.ParameterMap;
import net.thxjj.sitermodel.Product;
import org.apache.ibatis.annotations.Param;

public interface ProductDao {
	public List<Product> list(@Param("pid")String pid);
	public void editProduct(ParameterMap pm);
	public void addProduct(ParameterMap pm);
	public void delProduct(@Param("prod_key")String prod_key);
	public Product getProduct(@Param("prod_key")String prod_key);
	public Long getNumOfDevices(@Param("prod_key")String prod_key);
	public Long getNumOfOnlineDevices(@Param("prod_key")String prod_key);

}
